import store from "@/store";
const { GET, POST } = store.getters.props.req;

export function getServies(param: Object) {
  const baseUrl = store.getters.props.config.api;
  return GET(baseUrl + `/servie`, "获取剧集列表", param);
}

export function getDouBan(param: Object) {
  const baseUrl = store.getters.props.config.api;
  return POST(baseUrl + `/movie/getByName`, "获取豆瓣数据", param);
}
